// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2020 Sunplus - All Rights Reserved
 *
 * Author(s): Hammer Hsieh <hammer.hsieh@sunplus.com>
 */

#ifndef __DISP_PALETTE_H__
#define __DISP_PALETTE_H__

/* first 16 color setting */
//	{ 0x00, 0x00, 0x00 },  /* black */
//	{ 0xc0, 0x00, 0x00 },  /* red */
//	{ 0x00, 0xc0, 0x00 },  /* green */
//	{ 0xc0, 0x60, 0x00 },  /* brown */
//	{ 0x00, 0x00, 0xc0 },  /* blue */
//	{ 0xc0, 0x00, 0xc0 },  /* magenta */
//	{ 0x00, 0xc0, 0xc0 },  /* cyan */
//	{ 0xc0, 0xc0, 0xc0 },  /* light gray */
//	{ 0x80, 0x80, 0x80 },  /* gray */
//	{ 0xff, 0x00, 0x00 },  /* bright red */
//	{ 0x00, 0xff, 0x00 },  /* bright green */
//	{ 0xff, 0xff, 0x00 },  /* yellow */
//	{ 0x00, 0x00, 0xff },  /* bright blue */
//	{ 0xff, 0x00, 0xff },  /* bright magenta */
//	{ 0x00, 0xff, 0xff },  /* bright cyan */
//	{ 0xff, 0xff, 0xff },  /* white */
/* reference from vidconsole-uclass.c */

u32 osd0_header[32+256] __attribute__((aligned(64))) = { //8bpp ARGB 720x480
    /*header*/
 	0x00100082 , 0x2003E001 , 0x00000000 , 0x00000000 , 0x00000000 , 0x20030100 , 0xE0FFFFFF , 0x00203900 ,
 	0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 ,
    0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 ,
    0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 , 0x00000000 ,
    /* Palette 256 color */
/*	0x02fefe00 , 0x0d1313ff , 0x949a9aff , 0x9a9e9eff , 0xa8b9b7ff , 0x0f1f1dff , 0x17201eff , 0x90b8aeff ,
	0xcedbd6ff , 0xa5b3adff , 0x0e120eff , 0x9a9e9aff , 0x858685ff , 0x97a691ff , 0xa1ae9bff , 0xaed19aff ,*/
	/* reserve 16 color for vidconsole text display */
	0x000000ff , 0x0000c0ff , 0x00c000ff , 0x0060c0ff , 0xc00000ff , 0xc000c0ff , 0xc0c000ff , 0xc0c0c0ff ,
	0x808080ff , 0x0000ffff , 0x00ff00ff , 0x00ffffff , 0xff0000ff , 0xff00ffff , 0xffff00ff , 0xffffffff ,
	/* the rest 240 color default setting (optional)*/
	0x40a102ff , 0x888e83ff , 0x949b8eff , 0x5ab502ff , 0x6cad2dff , 0x708958ff , 0xc4d6b2ff , 0x20211fff ,
	0x6a6b69ff , 0xbcbdbbff , 0x9efc30ff , 0xadb99fff , 0xbbdf8dff , 0x96ac78ff , 0xd1e7b3ff , 0x7c7f78ff ,
	0x78c903ff , 0x8ceb05ff , 0xb7fd57ff , 0x50524dff , 0xccfe7aff , 0xdafd9dff , 0xe4fdbaff , 0x222e0aff ,
	0x42551eff , 0x919589ff , 0x2f302dff , 0xbabdb4ff , 0xb6b9b0ff , 0x151e02ff , 0x4a5d22ff , 0x2e3916ff ,
	0x1d2802ff , 0x2e3a12ff , 0x6a822eff , 0x465620ff , 0x5b6f2cff , 0x6e8436ff , 0x748c3bff , 0x677c34ff ,
	0x819c43ff , 0x222e02ff , 0x28320cff , 0x252e0eff , 0x364119ff , 0x62762eff , 0x7c933eff , 0x98b34eff ,
	0x8ca649ff , 0x9cb852ff , 0x93ae4eff , 0x283404ff , 0x2e3a08ff , 0x222a0aff , 0x1c220aff , 0x556623ff ,
	0x2a3212ff , 0x3c461cff , 0xd7e99dff , 0xf2fdd2ff , 0x34400aff , 0x39450eff , 0x242a0eff , 0x262e07ff ,
	0x3f4b0eff , 0x465213ff , 0x414d12ff , 0x4e5b1bff , 0x232712ff , 0xf9fee5ff , 0x4e5a16ff , 0x4a5616ff ,
	0x54611aff , 0x636f21ff , 0x707c27ff , 0x262a0aff , 0x808c2eff , 0xa2aa6eff , 0x949f37ff , 0xaab541ff ,
	0xcccdc4ff , 0xbec94aff , 0xd2dd54ff , 0x505425ff , 0xfafeb6ff , 0xf6fe2aff , 0x61632eff , 0x737547ff ,
	0x1c1c16ff , 0xd2d2aeff , 0x272721ff , 0x3a3a34ff , 0xb4b4a7ff , 0xc6c6bcff , 0x42423fff , 0xd2d2c9ff ,
	0xd6d6ceff , 0xe3e3ddff , 0xdcdcd6ff , 0x9e9e9aff , 0x9a9a96ff , 0xf2f2eeff , 0xeeeeeaff , 0xeaeae6ff ,
	0xe6e6e2ff , 0xf5f5f4ff , 0xd2d2d1ff , 0xcecdaaff , 0xd4d3baff , 0x9f9e8eff , 0xd5d2b4ff , 0xbebca8ff ,
	0xc6c29eff , 0xb2ae8eff , 0x949176ff , 0xd2ceacff , 0xcfccb3ff , 0xdddac0ff , 0xdad6bcff , 0xb8b19bff ,
	0x120f0eff , 0x874645ff , 0x9e9a9aff , 0x780407ff , 0x911a22ff , 0x340409ff , 0xa85360ff , 0xa61f3cff ,
	0x500418ff , 0xc36b84ff , 0xc22e5bff , 0xe34479ff , 0xf66a99ff , 0xde0272ff , 0xba0ba8ff , 0xa6a2a6ff ,
	0x9e9a9eff , 0x9a969aff , 0xeeeaeeff , 0xf602feff , 0xb936beff , 0xf96cfdff , 0xf88dfbff , 0xf446fcff ,
	0xee22feff , 0xe43cf2ff , 0xeb41f7ff , 0xd602edff , 0xd632eaff , 0xdc36eeff , 0x3d1242ff , 0xc602dfff ,
	0xf4b2feff , 0xaa02c9ff , 0xd804fcff , 0xd516f8ff , 0xd018f2ff , 0xde2afeff , 0xc226deff , 0xc62ae2ff ,
	0xcc2ee6ff , 0xce03f4ff , 0xa312beff , 0xc71ae8ff , 0xb61ed6ff , 0xbc24dcff , 0xca33e9ff , 0x120d13ff ,
	0xc102ecff , 0xba02e4ff , 0xb202deff , 0xc921efff , 0xac02d8ff , 0xa602d2ff , 0xac1cd4ff , 0x891da7ff ,
	0x9e02ceff , 0x9602c6ff , 0x9e12caff , 0xa616d2ff , 0xa216ceff , 0x9109c3ff , 0x6a078eff , 0x980ec8ff ,
	0xaa10e3ff , 0xb02de0ff , 0x1d0b23ff , 0xb35ad1ff , 0x8a02beff , 0x7f02b1ff , 0xb019ecff , 0xa921ddff ,
	0xb538e8ff , 0x230232ff , 0xb429f0ff , 0x9832c7ff , 0xc859faff , 0x7f409aff , 0xbb49f1ff , 0xda94fcff ,
	0xc777f1ff , 0x8b06deff , 0xb1a5b9ff , 0xf2e2feff , 0x998fa6ff , 0x211c29ff , 0xa06afdff , 0x8345fcff ,
	0x72609cff , 0x6127faff , 0x4822ceff , 0xb3a0f2ff , 0x3907fbff , 0x0e0d12ff , 0xacabb0ff , 0x817b9eff ,
	0x1e03e2ff , 0x847ac9ff , 0x0c03bdff , 0x4640a3ff , 0x0f0e91ff , 0xc1c1cfff , 0x9a9a9eff , 0xeaeaeeff ,
    0xdddddfff , 0xeeeeeeff , 0xeaeaeaff , 0xccccccff , 0xb0b0b0ff , 0xaaaaaaff , 0xa6a6a6ff , 0xa2a2a2ff ,
	0x9e9e9eff , 0x9a9a9aff , 0x969696ff , 0x929292ff , 0x1a1a1aff , 0x161616ff , 0x121212ff , 0x0d0d0dff
};
#endif	//__DISP_DEBUG_H__

